export enum ServiceTypes {
  ProxyAppOrder = 'proxy-app-order', // 用于 proxy service 自身注册的订单 api
  ProxyAppRCrm = 'proxy-app-order-r-crm', // 用于 proxy service 自身注册的 ReconstructionCRM api
  IT = 'it',
  Console = 'console', // 用于主项目用户相关 api
  CtConsole = 'ctconsole', // 用于防火墙获取日志 api
  LogsAudit = 'logsAudit', // 用于日志审计
  EShield = 'eshield', // 用于服务器安全卫士
  EShieldBssCrm = 'eshield-bsscrm', // 用于服务器安全卫士订单相关 api
  Firewall = 'firewall', // 用于云防火墙
  CloudAudit = 'cloudAudit', // 用于云审计
  CloudAuditOss = 'cloudAuditYacosOss', // 用于云审计调用 Yacos OSS 相关 API
}

export const LogJudgeMode = {
  Equal: 1,
  GreaterThan: 2,
  LessThan: 3,
  GreaterThanOrEqual: 4,
  LessThanOrEqual: 5,
  Range: 6,
  FuzzyMatching: 7,
};

export const FILTER_ALL = 'all';
export const FILTER_EMPTY = '';
export const MONTHS_PRE_YEAR = 12;

export const RequestBoolean = {
  True: 1,
  False: 0,
};

export const OrderCycleType = {
  Month: 3,
  Year: 5,
  DoubleYears: 6,
  TripleYears: 7,
};
